package com.doone.telmarket.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.doone.telmarket.domain.ibator.ServiceKeep;
import com.doone.telmarket.domain.ibator.ServiceKeepExample;
import com.doone.telmarket.infrastructure.dao.ServiceKeepDAO;
@Service("serviceKeepOperation")
public class ServiceKeepOperationImpl implements ServiceKeepOperation {

	@Autowired
	private ServiceKeepDAO serviceKeepDAO;
	
	public Integer deleteByPrimaryKey(Long id) {
		return serviceKeepDAO.deleteByPrimaryKey(id);
	}

	public void saveServiceKeep(ServiceKeep serviceKeep) {
		serviceKeepDAO.insert(serviceKeep);
	}

	public List<ServiceKeep> selectByServiceKeep(ServiceKeep sk) {
		return serviceKeepDAO.selectByServiceKeep(sk);
	}

}
